package com.zzw.service.interfaces;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.zzw.bean.ClassOfStudent;
import com.zzw.bean.Curriculum;
import com.zzw.mapper.ClassOfStudentMapper;
import com.zzw.mapper.CurriculumMapper;
import com.zzw.service.imple.IClassOfStudentService;
import com.zzw.service.imple.ICurriculumService;

@Service
public class CurriculumImple implements ICurriculumService {
	
	@Autowired
	CurriculumMapper mapper;

	public List<Curriculum> selectCurriculum(Curriculum curriculum) {
		// TODO Auto-generated method stub
		return mapper.selectCurriculum(curriculum);
	}

	public void deleteCurriculum(Curriculum curriculum) {
		mapper.deleteCurriculum(curriculum);
		
	}

	public Curriculum selectCurriculumById(Curriculum curriculum) {
		// TODO Auto-generated method stub
		return mapper.selectCurriculumById(curriculum);
	}

	public void updateCurriculum(Curriculum curriculum) {
		mapper.updateCurriculum(curriculum);
		
	}

	

	

	

}
